/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.sum.Impl;

import za.ac.cput.sum.Sum;

/**
 *
 * @author Jameel
 */
public class SumImpl implements Sum {

    @Override
    public int addition(int a, int b) {
        int sum = 0;
        
        for (int i = 0; i < b; i++)
        {
            sum = sum + a + b;
        }
        
        return sum;
    }    
}
